@font-face {
    font-family: myFirstFont;
    src: url('../images/ZhiMangXing-Regular.ttf');
    font-weight:bold;
}
* {
    box-sizing: border-box;
  }
body {
    display:flex;
    flex-direction: column;
    align-items: center;
    height:100%;
    margin: 0;
    padding:0;
}
.bus-frame-top {
    position:absolute;
    height:1px;
    width:960px;
    top:0;
    left:50%;
    transform:translateX(-50%);
    background-color:gray;
}
.bus-frame-left {
    position:fixed;
    width:1px;
    height:100%;
    left:50%;
    transform:translateX(-480px);
    background-color:gray;
}
.bus-frame-right {
    position:fixed;
    width:1px;
    height:100%;
    right:50%;
    transform:translateX(480px);
    background-color:gray;
}
.background {
    position: fixed;
    width:100%;
    height:100%;
    left:0;
    top:0;
    bottom:0;
    right:0;
    z-index: -1;
}
header {
    height:80px;
    width:960px;
    position:relative;
    margin: 0;
    padding: 0;
}
.header-background {
    position:absolute;
    width:100%;
    height:80px;
    background-image: linear-gradient(to bottom right, rgba(183, 190, 183, 0.322),rgba(165, 50, 219, 0.37));
}
.logo {
    position:absolute;
    font-family: myFirstFont;
    font-size:72px;
    margin: auto 0;
    left:0;
    top:5%;
    bottom:5%;
    height: 72px;
    width:200px;
}
header img {
    position:absolute;
    display:block;
    top:50%;
    right:0;
    transform:translateY(-50%);
    border-radius: 50%;
    margin:0;
    height: 70px;
    width:70px;
    border:1px solid black;
}
header .connection {
    display:flex;
    position:absolute;
    top:50%;
    right:70px;
    transform:translateY(-50%);
    margin-right: 40px;
    padding:0;
    width:300px;
    height:100%;
    align-items: center;
    justify-content: space-around;
}
.connection a {
    font-size: 14px;
    text-decoration:none;
}
.connection a:hover {
    color:blue;
    cursor:pointer;
}
.header-connection-line {
    width:1px;
    height:14px;
    background: black;
}
.introducePart {
    width:960px;
    height:160px;
    margin:10px 0;
    padding:20px;
    position: relative;
    background-image: linear-gradient(to bottom right, rgba(183, 190, 183, 0.322),rgba(165, 50, 219, 0.37));
}
.introducePart h1 {
    font-size: 23px;
    margin: 0;
}
.introducePart-main {
    margin: 5px 0;
    font-size: 13px;
}
.introducePart img {
    border-radius: 50%;
    width:20px;
    height:20px;
}
.introducePart-mail {
    width:40%;
    height:15%;
    display:flex;
    margin: 20px 0 0 0;
    align-items: center;
}
.introducePart-phone {
    width:40%;
    height:15%;
    display:flex;
    margin: 5px 0 0 0;
    align-items: center;
}
.introducePart-mail p, .introducePart-phone p {
    font-size:13px;
    margin: 0 0 0 5px;
}
.introduction {
    min-height: 300px;
    width:960px;
    display:flex;
    margin-bottom: 10px;
}
.introduction-skill {
    width:240px;
    padding:10px;
    margin: 0 10px 0 0 ;
    display:flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(to bottom right, rgba(183, 190, 183, 0.322),rgba(165, 50, 219, 0.37));
}
.introduction-skill h1 {
    margin:0;
}
.introduction-skill-box {
    display:flex;
    align-items: center;
    height:90%;
    width:100%;
}
.introduction-skill-text {
    display:flex;
    flex-direction: column;
    justify-content: center;
    margin:0 5% 0 0 ;
    padding:0;
    width:48%;
    height:96%;
}
.introduction-skill-text p {
    text-align : right;
    font-size: 15px;
}
.introduction-skill-bar {
    display:flex;
    flex-direction: column;
    justify-content: left;
    height:96%;
    width:100%;
    padding:0;
    margin: 0;
    
}
.introduction-skill-bar div{
    height:20px;
    margin-top: 5%;
    margin-bottom: 17%;
    background-color: blue;
}
.introduction-skill-bar div:nth-of-type(1) {
    width:135px;
    animation: grow1 1800ms;
}
.introduction-skill-bar div:nth-of-type(2) {
    width:80px;
    animation: grow2 1800ms;
}
.introduction-skill-bar div:nth-of-type(3) {
    width:130px;
    animation: grow3 1800ms;
}
.introduction-skill-bar div:nth-of-type(4) {
    width:40px;
    animation: grow4 1800ms;
}
.introduction-skill-bar div:nth-of-type(5) {
    width:130px;
    animation: grow3 1800ms;
}
.introduction-skill-bar div:nth-of-type(6) {
    width:120px;
    animation: grow6 1800ms;
}
.introduction-skill-bar div:nth-of-type(7) {
    width:110px;
    animation: grow7 1800ms;
    margin-bottom: 0;
}
@keyframes grow1 {
    from {
        width:1px;
    }
    to {
        width:135px;
    }
}
@keyframes grow2 {
    from {
        width:1px;
    }
    to {
        width:80px;
    }
}
@keyframes grow3 {
    from {
        width:1px;
    }
    to {
        width:130px;
    }
}
@keyframes grow4 {
    from {
        width:1px;
    }
    to {
        width:40px;
    }
}
@keyframes grow6 {
    from {
        width:1px;
    }
    to {
        width:120px;
    }
}
@keyframes grow7 {
    from {
        width:1px;
    }
    to {
        width:110px;
    }
}
.introduction-experience {
    width:710px;
    border-bottom: 1px solid gray;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    background-image: linear-gradient(to bottom right, rgba(183, 190, 183, 0.322),rgba(165, 50, 219, 0.37));
}
.introduction-experience ul {
    padding-left: 0;
    margin-top: 0;
}
.introduction-experience li {
    float: left;
    list-style-type: none;
    width: 33%;
    border-bottom: 1px solid gray;
}
.introduction-experience li:nth-of-type(2) {
    border-left: 1px solid gray;
}
.introduction-experience li:nth-of-type(3) {
    width:34%;
    border-left: 1px solid gray;
}
.introduction-experience li.active {
    border-bottom: 0;
}
.introduction-experience a {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    line-height: 3;
    color: black;
    text-align: center;
    font-weight:bold;
}
.introduction-experience li a:hover{
    background-color: #0069a636;
}
.introduction-experience .panels {
    height: 88%;
    position: relative;
    clear: both;
}
.introduction-experience .panels div {
    position: absolute;
    display: flex;
    flex-direction:column;
    top: 0;
    left: 0;
    height: 100%;
    width:100%;
    padding: 20px 20px 20px 0;
    color:rgba(255, 248, 220, 0);
}
.introduction-experience .active-panel{
    z-index: 1;
}
.introduction-experience .panels article {
    display:flex;
    align-items: left;
    width:100%;
    margin:0;
}
.introduction-experience .panels h2 {
    flex:250px;
    font-size:medium;
    padding:0;
    margin:0 0 0 5%;
}
.introduction-experience .panels p {
    padding:0;
    margin:0 0 0 5%;
}
.project-color {
    display:flex;
    align-items: center;
    justify-content: left;
    width:100%;
    height:220px;
    background-image: linear-gradient(to bottom right, rgba(153, 179, 144, 0.288),rgba(192, 122, 224, 0.301));
    /*padding-left: 37.9vh;*/
}
.project-blank {
    flex:1000;
    height:250px;
}
.project-none-color {
    display:flex;
    align-items: center;
    justify-content: left;
    width:100%;
    height:220px;
}
.project-introduction {
    flex: 1;
    flex-basis: 960px;
    margin-left:0;
    margin-right: 0;
    min-width:960px;
    height:220px;
    display:flex;
    align-items: center;
}
.picture-box {
    flex:1000;
    height:220px;
    display:flex;
    align-items: center;
    overflow: hidden;
}
.project-introduction .project-pic {
    width:120px;
    height:120px;
    margin-top:2%;
    margin-left: 0.1%;
}
.project-introduction img {
    display:inline-block;
    width:100%;
    height:100%;
}
.project-introduction .project-article {
    margin:0;
    padding:15px 25px 85px 25px ;
    height:100%;
    flex:1;
}
.project-introduction h1 {
    margin:0;
    padding:0;
    font-size: larger;
}
.project-introduction .participate {
    display:flex;
    align-items: center;
    justify-content: space-around;
    width:14%;
    height:10%;
    margin-top: 2.2%;
}
.project-introduction .participate .line,.project-introduction .technique .line {
    height:15px;
    width:1px;
    background-color: black;
    margin:0 5px;
}
.project-introduction .technique {
    display:flex;
    align-items: center;
    justify-content: left;
    width:40%;
    height:10%;
}
.project-introduction-picture {
    left:20px;
    width:66%;
    padding-bottom: 66%;
    max-width:210px;
    position: relative;
    overflow: hidden;
}
.project-introduction-picture img{
    position:absolute;
    width: 100%;
    height:100%;
    max-width:210px;
    max-height:210px;
}
@media screen and (max-width: 1000px) {
    .project-introduction-picture img{
        width: 0;
        height:0;
    }
}
.interaction {
    width:960px;
    height:370px;
    margin-top: 10px;
    display:flex;
}
.interaction-atlas {
    width:630px;
    height:100%;
    display:flex;
    flex-direction: column;
}
.atlas-first-row {
    display:flex;
    width:100%;
    height:180px;
    margin-bottom:10px;
}
.atlas-second-row {
    display:flex;
    width:100%;
    height:180px;
}
.interaction-atlas-pic {
    width:150px;
    height:180px;
    margin-right: 10px;
    position:relative;
}
.atlas-first-row .interaction-atlas-pic:nth-of-type(1) {
    background-image:url(../images/Picture_0001.png);
}
.atlas-first-row .interaction-atlas-pic:nth-of-type(2) {
    background-image:url(../images/Picture_0002.png);
}
.atlas-first-row .interaction-atlas-pic:nth-of-type(3) {
    background-image:url(../images/Picture_0003.png);
}
.atlas-first-row .interaction-atlas-pic:nth-of-type(4) {
    background-image:url(../images/Picture_0004.png);
    margin:0;
}
.atlas-second-row .interaction-atlas-pic:nth-of-type(1) {
    background-image:url(../images/Picture_0005.png);
}
.atlas-second-row .interaction-atlas-pic:nth-of-type(2) {
    background-image:url(../images/Picture_0006.png);
}
.atlas-second-row .interaction-atlas-pic:nth-of-type(3) {
    background-image:url(../images/Picture_0007.png);
}
.atlas-second-row .interaction-atlas-pic:nth-of-type(4) {
    background-image:url(../images/Picture_0008.png);
    margin:0;
}
.interaction-atlas-pic p {
    position:absolute;
    left:7%;
    bottom:4%;
    margin:0;
}
.interaction-atlas-pic .redheart-box {
    position:absolute;
    right:7%;
    bottom:5.5%;
    width:15px;
    height:15px;
    cursor:pointer;
}
.interaction-atlas-pic .whiteHeart {
    position:absolute;
    width:100%;
    height:100%;  
}
.interaction-atlas-pic .redHeart {
    position:absolute;
    width:100%;
    height:100%;
    z-index:-1;
}
.interaction-atlas-pic .redHeartChecked {
    position:absolute;
    width:100%;
    height:100%;
    z-index:1;
}
.interaction-atlas-pic .flyHeart{
    position:absolute;
    width:100%;
    height:100%;
    z-index:-1; 
}
.interaction-atlas-pic .flyHeartChecked {
    position:absolute;
    width:100%;
    height:100%;
    z-index:1;
    animation: fly 1000ms;
}
@keyframes fly {
    0% {
        bottom:0;
        right:0;
    }
    99% {
        bottom:100px;
        right:100px;
    }
    100% {
        bottom:100px;
        right:100px;
        z-index:-1;
    }
}
.interaction-message {
    width:320px;
    height:100%;
    margin-left: 10px;
    display:flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(to bottom right, rgba(183, 190, 183, 0.322),rgba(165, 50, 219, 0.37));
}
.interaction-message h1 {
    font-weight:normal;
    font-size:17px;
    padding:0;
    margin:10px 0;
}
.interaction-message-content {
    width:300px;
    height:200px;
    overflow:auto;
    border:1px dashed black;
    margin:0 10px 0 10px;
}
.interaction-message-speaking {
    margin:10px;
    width:300px;
    height:113px;
}
.interaction-message-content-box {
    height:80px;
    width:100%;
    display:flex;
    margin-bottom: 10px;
}
.interaction-message-content-box .personalInformation {
    height:100%;
    width:50px;
    margin-left: 10px;
    display:flex;
    flex-direction: column;
    align-items: center;
}
.interaction-message-content-box .personalInformation-odd {
    height:100%;
    width:50px;
    margin-right: 10px;
    display:flex;
    flex-direction: column;
    align-items: center;
}
.interaction-message-content-box .header-pic {
    border-radius: 50%;
    width:50px;
    height:50px;
    border:1px solid gray;
    margin-top: 10px;
    display:flex;
    align-items: center;
    justify-content: center;
}
.interaction-message-content-box .header-pic p {
    margin:0;
    padding:0;
    font-size:30px;
    font-weight:bold;
}
.interaction-message-content-box .personalName {
    padding:0;
    margin:3px 0 0 0;
    font-size:10px;
}
.interaction-message-content-box .personal-words {
    height:100%;
    width:240px;
    padding:5px;
    border:1px solid gray;
    display:flex;
    align-items: center;
}
.interaction-message-content-box .personal-words p {
    margin:0;
}
.interaction-message-speaking .words-input {
    height:51.5px;
    width:100%;
    margin-bottom:10px;
}
.interaction-message-speaking .input-box {
    height:51.5px;
    width:100%;
    display:flex;
}
.interaction-message-speaking .name-input {
    height:100%;
    width:65%;
    margin-right: 10px;
}
.interaction-message-speaking .words-submit {
    height:100%;
    width:42.3%;
    cursor: pointer;
}
footer {
    width:100%;
    height:150px;
    background-color: rgb(16, 59, 41);
    padding:15px;
    margin-top: 10px;
}
footer p {
    margin:0 auto;
    color: white;
    text-align: center;
}
